package com.java1412.controller.admin;

import com.java1412.service.PayInfoService;
import com.java1412.utils.ResponseUtil;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * 后端支付管理接口
 *
 * @author java1412
 * @since 2023-06-27 13:53:20
 */
@RestController
@RequestMapping("/admin/payInfo")
public class AdminPayInfoController {
    @Resource
    private PayInfoService payInfoService;

    @GetMapping("/findAll")
    public Object findAll() {
        ResponseUtil r = payInfoService.findAll();
        return r;
    }
}
